<include file="inc:header" />
<div class="page" id='{$data.act}'>
<?php
	$back_url = U("more/index");
	$back_page = "#More";
	$back_epage = $_REQUEST['epage']=="" ? "#more" : "#".$_REQUEST['epage'];
?>
<include file="inc:title" />
<div class="content infinite-scroll " data-distance="{$data.rs_count}"  all_page="{$data.page.page_total}" ajaxurl="{:U('ucgoodsorder/index')}">
<!-- 这里是页面内容区 -->
<!--我的兑换-->
<div class="uc_goods_order invest" >
	<ul>

		<foreach name="data.order_info" item="item" key="key">
		<li>
			<if condition="$item.order_status eq 0 or $item.order_status eq 2 or $item.order_status eq 3">
			<div class="clearfix topbox bb1">
				<span class="f_l">订单号:{$item.order_sn}</span>
				<span class="f_r">{$item.ex_time}</span>
			</div>
			</if>
			<if condition="$item.order_status eq 1">
			<div class="clearfix topbox bb1">
				<span class="f_l">订单号:{$item.order_sn}</span>
				<span class="f_r">{$item.ex_time}</span>
			</div>
			</if>
			<div class="middlebox w_b">
				<div class="picbox">
					<img src="{$item.img}" width="100%" height="100%"/>
				</div>
				<div class="w_b_f_1">
					<p class="fname">{$item.goods_name}</p>
					<div>
						<div class="w_b">
							<p class="w_b_f_1">
								商品数量：<i class="ea544a">{$item.number}</i>份
							</p>
							<p class="w_b_f_1">
								商品状态：<i class="<if condition="$item.order_status eq 1">c56b1ea<else/>ea544a</if>">{$item.order_status_format}</i>
							</p>
                        </div>
						<p>所需积分：{$item.total_score}分</p>
						<if condition="$item.is_delivery eq 1">
						<p>快递公司：{$item.delivery_express}</p>
						<p>快递单号：{$item.delivery_sn}</p>
						<p>发货时间：{$item.delivery_time}</p>
						<p>收货地址：{$item.delivery_addr}</p>
						<p>收货电话：{$item.delivery_tel}</p>
						<p>收&nbsp;&nbsp;货&nbsp;&nbsp;人：{$item.delivery_name}</p>
						</if>
					</div>
				</div>
			</div>
		</li>
		</foreach>

	</ul>
</div>
<!-- 加载提示符 -->
<div class="infinite-scroll-preloader">
  <div class="preloader">
  </div>
</div>
<include file="inc:footer" />